package com.iot.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wlr
 * @since 2022-01-05
 */
public class Device implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 产品密钥
     */
    @TableField("product_key")
    private String productKey;
    /**
     * 设备名称
     */
    @TableId(value = "device_name", type = IdType.INPUT)
    private String deviceName;
    /**
     * 备注名称
     */
    @TableField("remark_name")
    private String remarkName;


    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getRemarkName() {
        return remarkName;
    }

    public void setRemarkName(String remarkName) {
        this.remarkName = remarkName;
    }

    @Override
    public String toString() {
        return "Device{" +
        ", productKey=" + productKey +
        ", deviceName=" + deviceName +
        ", remarkName=" + remarkName +
        "}";
    }

    public Device(String productKey, String deviceName, String remarkName) {
        this.productKey = productKey;
        this.deviceName = deviceName;
        this.remarkName = remarkName;
    }
}
